package com.taldh.design.patterns.event.listener;

import java.util.ArrayList;
import java.util.EventListener;
import java.util.EventObject;
import java.util.List;

/**
 * date 2020/6/4
 *
 * @author 袁小黑
 * @version 1.0.0
 **/

public class TestEventObject extends EventObject {
    /**
     * Constructs a prototypical Event.
     *
     * @param source The object on which the Event initially occurred.
     * @throws IllegalArgumentException if source is null.
     */
    public TestEventObject(Object source) {
        super(source);
    }

    List<EventListener> listeners = new ArrayList<>();

    public void changeSource(String test) {

    }
}
